package com.insurance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (CouponsInfo)实体类
 *
 * @author makejava
 * @since 2020-10-29 09:46:14
 */
@ApiModel(value = "优惠券")
public class CouponsInfo implements Serializable {
    private static final long serialVersionUID = 723390500034613244L;
    /**
     * 优惠券id
     */
    @ApiModelProperty(name = "couponId",notes = "优惠券id",dataType = "int")
    private Integer couponId;
    //用于接收增加优惠卷后新增的id
    private int coupon_id;
    /**
     * 优惠券名称
     */
    @ApiModelProperty(name = "couponName",notes = "优惠券名称",dataType = "String")
    private String couponName;
    /**
     * 发放方式id
     */
    @ApiModelProperty(name = "disbursementId",notes = "发放方式id",dataType = "int")
    private Integer disbursementId;
    /**
     * 使用范围id
     */
    @ApiModelProperty(name = "useareaId",notes = "使用范围id",dataType = "int")
    private Integer useareaId;
    /**
     * 开始时间
     */
    @ApiModelProperty(name = "startTime",notes = "开始时间",dataType = "data")
    private String startTime;

    private Date start_time;
    /**
     * 结束时间
     */
    @ApiModelProperty(name = "endTime",notes = "结束时间",dataType = "data")
    private String endTime;

    private Date end_time;
    /**
     * 优惠卷下发数量
     */
    @ApiModelProperty(name = "fbNumber",notes = "优惠卷下发数量",dataType = "int")
    private Integer fbNumber;
    /**
     * 优惠卷领取数量
     */
    @ApiModelProperty(name = "lqNumber",notes = "优惠卷领取数量",dataType = "int")
    private Integer lqNumber;
    /**
     * 价格
     */
    @ApiModelProperty(name = "lqNumber",notes = "优惠价格",dataType = "BigDecimal")
    private BigDecimal price;

    public int getCoupon_id() {
        return coupon_id;
    }

    public void setCoupon_id(int coupon_id) {
        this.coupon_id = coupon_id;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Integer getDisbursementId() {
        return disbursementId;
    }

    public void setDisbursementId(Integer disbursementId) {
        this.disbursementId = disbursementId;
    }

    public Integer getUseareaId() {
        return useareaId;
    }

    public void setUseareaId(Integer useareaId) {
        this.useareaId = useareaId;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public Date getStart_time() {
        return start_time;
    }

    public void setStart_time(Date start_time) {
        this.start_time = start_time;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Date getEnd_time() {
        return end_time;
    }

    public void setEnd_time(Date end_time) {
        this.end_time = end_time;
    }

    public Integer getFbNumber() {
        return fbNumber;
    }

    public void setFbNumber(Integer fbNumber) {
        this.fbNumber = fbNumber;
    }

    public Integer getLqNumber() {
        return lqNumber;
    }

    public void setLqNumber(Integer lqNumber) {
        this.lqNumber = lqNumber;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "CouponsInfo{" +
                "couponId=" + couponId +
                ", couponName='" + couponName + '\'' +
                ", disbursementId=" + disbursementId +
                ", useareaId=" + useareaId +
                ", startTime='" + startTime + '\'' +
                ", start_time=" + start_time +
                ", endTime='" + endTime + '\'' +
                ", end_time=" + end_time +
                ", fbNumber=" + fbNumber +
                ", lqNumber=" + lqNumber +
                ", price=" + price +
                '}';
    }
}